package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.contactuser.pojo.dto.ContactUserDeleteBatchDTO;
import com.xbongbong.pro.contactuser.pojo.vo.ContactUserDeleteBatchVO;
import com.xbongbong.pro.opportunity.pojo.dto.OpportunityDeleteBatchDTO;
import com.xbongbong.pro.opportunity.pojo.vo.OpportunityDeleteBatchVO;
import com.xbongbong.pro.opportunityuser.pojo.dto.OpportunityUserDeleteBatchDTO;
import com.xbongbong.pro.opportunityuser.pojo.vo.OpportunityUserDeleteBatchVO;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/3/10 16:17
 * @since v1.0
 */
public interface OpportunityUserService {

    /**
     * 批量删除
     * @author 吴峰
     * @date 2019/3/10 16:18
     * @param opportunityUserDeleteBatchDTO
     * @return com.xbongbong.pro.contactuser.pojo.vo.OpportunityUserDeleteBatchVO
     * @throws XbbException 业务异常
     */
    OpportunityUserDeleteBatchVO deleteBatch(OpportunityUserDeleteBatchDTO opportunityUserDeleteBatchDTO) throws XbbException;

    void dataConsistencyUpdateUser(String corpid, String userId, String userName, String userAvatar) throws XbbException;
}
